package org.software.controller;
import org.software.service.StudentService;
import org.software.entity.Student;

import java.util.List;

public class StudentController  {
    private StudentService studentService = new StudentService();

public boolean studentAdd(String studentId, String studentName, String groupName) {
    return studentService.studentAdd(studentId, studentName, groupName);
}

public boolean studentDelete(String studentId) {
    return studentService.studentDelete(studentId);
}

public List<Student> studentQuery() {
    return studentService.studentQuery();
}

}
